Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: optimize recoverWith to avoid some materialization #1775

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Feb 22, 2025

Motivation:
refs: #1663

Result:
Avoid some materialization.

@He-Pin He-Pin added the t:stream Pekko Streams label Feb 22, 2025
@He-Pin He-Pin added this to the 1.2.0-M2 milestone Feb 22, 2025
@He-Pin He-Pin assigned Roiocam and unassigned Roiocam Feb 22, 2025
@He-Pin He-Pin requested a review from pjfanning February 23, 2025 07:49
@He-Pin He-Pin force-pushed the recoverWthOpt branch 2 times, most recently from baea7be to ea43a78 Compare February 28, 2025 02:53
@He-Pin
Copy link
Member Author

He-Pin commented Feb 28, 2025

@pjfanning @Roiocam I think this one is ready.

pjfanning
pjfanning previously approved these changes Feb 28, 2025
Copy link
Contributor

@pjfanning pjfanning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@pjfanning pjfanning dismissed their stale review February 28, 2025 10:34

needs import change

@He-Pin
Copy link
Member Author

He-Pin commented Feb 28, 2025

lgtm

I think we can do a sortimports globally..

@pjfanning pjfanning changed the title chore: optmize recoverWith to avoid some materialization chore: optimize recoverWith to avoid some materialization Feb 28, 2025
@He-Pin He-Pin merged commit 2d5c50c into apache:main Feb 28, 2025
9 checks passed
@He-Pin He-Pin deleted the recoverWthOpt branch February 28, 2025 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t:stream Pekko Streams
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: optimize recoverWith for single,future and failed source
3 participants